home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 33 / PCGamer33_OddworldAbesExoddus_CD1.iso / The Whell of Time / wotdemo.exe / System / WoTPawns.u / MashadarGuide_MashadarFocusPawn_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-02  |  7.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 62 7e 2f 2f 3d 3d 3d 3d |........|b~//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 4d 61 |========|=..// Ma|
|00000060| 73 68 61 64 61 72 46 6f | 63 75 73 50 61 77 6e 2e |shadarFo|cusPawn.|
|00000070| 75 63 0d 0a 2f 2f 20 24 | 41 75 74 68 6f 72 3a 20 |uc..// $|Author: |
|00000080| 4d 66 6f 78 20 24 0d 0a | 2f 2f 20 24 44 61 74 65 |Mfox $..|// $Date|
|00000090| 3a 20 31 30 2f 32 36 2f | 39 39 20 35 3a 34 32 70 |: 10/26/|99 5:42p|
|000000a0| 20 24 0d 0a 2f 2f 20 24 | 52 65 76 69 73 69 6f 6e | $..// $|Revision|
|000000b0| 3a 20 31 20 24 0d 0a 2f | 2f 3d 3d 3d 3d 3d 3d 3d |: 1 $../|/=======|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 0d 0a | 0d 0a 63 6c 61 73 73 20 |======..|..class |
|00000110| 4d 61 73 68 61 64 61 72 | 46 6f 63 75 73 50 61 77 |Mashadar|FocusPaw|
|00000120| 6e 20 65 78 70 61 6e 64 | 73 20 43 61 70 74 61 69 |n expand|s Captai|
|00000130| 6e 3b 0d 0a 0d 0a 23 65 | 78 65 63 20 4d 45 53 48 |n;....#e|xec MESH|
|00000140| 20 49 4d 50 4f 52 54 20 | 4d 45 53 48 3d 4d 61 73 | IMPORT |MESH=Mas|
|00000150| 68 44 61 67 67 65 72 20 | 41 4e 49 56 46 49 4c 45 |hDagger |ANIVFILE|
|00000160| 3d 4d 4f 44 45 4c 53 5c | 4d 61 73 68 44 61 67 67 |=MODELS\|MashDagg|
|00000170| 65 72 5f 61 2e 33 64 20 | 44 41 54 41 46 49 4c 45 |er_a.3d |DATAFILE|
|00000180| 3d 4d 4f 44 45 4c 53 5c | 4d 61 73 68 44 61 67 67 |=MODELS\|MashDagg|
|00000190| 65 72 5f 64 2e 33 64 20 | 58 3d 30 20 59 3d 30 20 |er_d.3d |X=0 Y=0 |
|000001a0| 5a 3d 30 20 4d 4c 4f 44 | 3d 30 0d 0a 23 65 78 65 |Z=0 MLOD|=0..#exe|
|000001b0| 63 20 4d 45 53 48 20 4f | 52 49 47 49 4e 20 4d 45 |c MESH O|RIGIN ME|
|000001c0| 53 48 3d 4d 61 73 68 44 | 61 67 67 65 72 20 58 3d |SH=MashD|agger X=|
|000001d0| 30 20 59 3d 30 20 5a 3d | 30 0d 0a 23 65 78 65 63 |0 Y=0 Z=|0..#exec|
|000001e0| 20 4d 45 53 48 20 53 45 | 51 55 45 4e 43 45 20 4d | MESH SE|QUENCE M|
|000001f0| 45 53 48 3d 4d 61 73 68 | 44 61 67 67 65 72 20 53 |ESH=Mash|Dagger S|
|00000200| 45 51 3d 41 6c 6c 20 20 | 20 20 20 53 54 41 52 54 |EQ=All | START|
|00000210| 46 52 41 4d 45 3d 30 20 | 4e 55 4d 46 52 41 4d 45 |FRAME=0 |NUMFRAME|
|00000220| 53 3d 31 0d 0a 23 65 78 | 65 63 20 54 45 58 54 55 |S=1..#ex|ec TEXTU|
|00000230| 52 45 20 49 4d 50 4f 52 | 54 20 4e 41 4d 45 3d 4a |RE IMPOR|T NAME=J|
|00000240| 4d 61 73 68 44 61 67 67 | 65 72 31 20 46 49 4c 45 |MashDagg|er1 FILE|
|00000250| 3d 4d 4f 44 45 4c 53 5c | 4d 61 73 68 44 61 67 67 |=MODELS\|MashDagg|
|00000260| 65 72 31 2e 50 43 58 20 | 47 52 4f 55 50 3d 53 6b |er1.PCX |GROUP=Sk|
|00000270| 69 6e 73 20 46 4c 41 47 | 53 3d 32 20 2f 2f 20 4d |ins FLAG|S=2 // M|
|00000280| 61 74 65 72 69 61 6c 20 | 23 31 0d 0a 23 65 78 65 |aterial |#1..#exe|
|00000290| 63 20 4d 45 53 48 4d 41 | 50 20 4e 45 57 20 20 20 |c MESHMA|P NEW |
|000002a0| 4d 45 53 48 4d 41 50 3d | 4d 61 73 68 44 61 67 67 |MESHMAP=|MashDagg|
|000002b0| 65 72 20 4d 45 53 48 3d | 4d 61 73 68 44 61 67 67 |er MESH=|MashDagg|
|000002c0| 65 72 0d 0a 23 65 78 65 | 63 20 4d 45 53 48 4d 41 |er..#exe|c MESHMA|
|000002d0| 50 20 53 43 41 4c 45 20 | 4d 45 53 48 4d 41 50 3d |P SCALE |MESHMAP=|
|000002e0| 4d 61 73 68 44 61 67 67 | 65 72 20 58 3d 30 2e 31 |MashDagg|er X=0.1|
|000002f0| 20 59 3d 30 2e 31 20 5a | 3d 30 2e 32 0d 0a 23 65 | Y=0.1 Z|=0.2..#e|
|00000300| 78 65 63 20 4d 45 53 48 | 4d 41 50 20 53 45 54 54 |xec MESH|MAP SETT|
|00000310| 45 58 54 55 52 45 20 4d | 45 53 48 4d 41 50 3d 4d |EXTURE M|ESHMAP=M|
|00000320| 61 73 68 44 61 67 67 65 | 72 20 4e 55 4d 3d 30 20 |ashDagge|r NUM=0 |
|00000330| 54 45 58 54 55 52 45 3d | 4a 4d 61 73 68 44 61 67 |TEXTURE=|JMashDag|
|00000340| 67 65 72 31 0d 0a 0d 0a | 23 65 78 65 63 20 54 45 |ger1....|#exec TE|
|00000350| 58 54 55 52 45 20 49 4d | 50 4f 52 54 20 46 49 4c |XTURE IM|PORT FIL|
|00000360| 45 3d 4d 6f 64 65 6c 73 | 5c 4d 61 73 68 61 64 61 |E=Models|\Mashada|
|00000370| 72 58 2e 50 43 58 20 47 | 52 4f 55 50 3d 45 66 66 |rX.PCX G|ROUP=Eff|
|00000380| 65 63 74 73 0d 0a 0d 0a | 76 61 72 20 69 6e 74 20 |ects....|var int |
|00000390| 47 75 61 72 64 49 44 3b | 09 09 09 2f 2f 20 54 68 |GuardID;|...// Th|
|000003a0| 65 20 69 64 65 6e 74 69 | 66 69 63 61 74 69 6f 6e |e identi|fication|
|000003b0| 20 6f 66 20 6f 75 72 20 | 6c 61 73 74 20 6f 72 64 | of our |last ord|
|000003c0| 65 72 2e 0d 0a 0d 0a 76 | 61 72 20 4d 61 73 68 61 |er.....v|ar Masha|
|000003d0| 64 61 72 47 75 69 64 65 | 20 54 65 6e 64 72 69 6c |darGuide| Tendril|
|000003e0| 3b 09 2f 2f 20 54 68 65 | 20 74 65 6e 64 72 69 6c |;.// The| tendril|
|000003f0| 20 77 65 20 61 72 65 20 | 61 63 74 69 6e 67 20 61 | we are |acting a|
|00000400| 73 20 61 20 66 6f 63 75 | 73 20 70 61 77 6e 20 66 |s a focu|s pawn f|
|00000410| 6f 72 2e 0d 0a 76 61 72 | 20 4d 61 73 68 61 64 61 |or...var| Mashada|
|00000420| 72 47 75 69 64 65 20 43 | 6c 6f 73 65 73 74 4d 61 |rGuide C|losestMa|
|00000430| 73 68 61 64 61 72 3b 0d | 0a 0d 0a 2f 2f 2d 2d 2d |shadar;.|...//---|
|00000440| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000470| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000480| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 66 75 6e |--------|---..fun|
|00000490| 63 74 69 6f 6e 20 49 6e | 69 74 50 6c 61 79 65 72 |ction In|itPlayer|
|000004a0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|000004b0| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 49 6e 69 |)..{...S|uper.Ini|
|000004c0| 74 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |tPlayerR|eplicati|
|000004d0| 6f 6e 49 6e 66 6f 28 29 | 3b 0d 0a 0d 0a 09 69 66 |onInfo()|;.....if|
|000004e0| 28 20 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |( Player|Replicat|
|000004f0| 69 6f 6e 49 6e 66 6f 20 | 21 3d 20 4e 6f 6e 65 20 |ionInfo |!= None |
|00000500| 29 0d 0a 09 7b 0d 0a 09 | 09 50 6c 61 79 65 72 52 |)...{...|.PlayerR|
|00000510| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00000520| 6c 61 79 65 72 4e 61 6d | 65 20 3d 20 4e 61 6d 65 |layerNam|e = Name|
|00000530| 41 72 74 69 63 6c 65 20 | 24 20 22 4d 61 73 68 61 |Article |$ "Masha|
|00000540| 64 61 72 20 74 65 6e 64 | 72 69 6c 22 3b 0d 0a 09 |dar tend|ril";...|
|00000550| 7d 0d 0a 7d 0d 0a 0d 0a | 0d 0a 2f 2f 2f 2f 2f 2f |}..}....|..//////|
|00000560| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000570| 2f 2f 2f 2f 2f 2f 2f 2f | 0d 0a 2f 2f 20 4f 72 64 |////////|..// Ord|
|00000580| 65 72 20 68 61 6e 64 6c | 69 6e 67 20 66 75 6e 63 |er handl|ing func|
|00000590| 74 69 6f 6e 73 20 2f 2f | 0d 0a 2f 2f 2f 2f 2f 2f |tions //|..//////|
|000005a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000005b0| 2f 2f 2f 2f 2f 2f 2f 2f | 0d 0a 0d 0a 2f 2f 2d 2d |////////|....//--|
|000005c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 66 75 |--------|----..fu|
|00000610| 6e 63 74 69 6f 6e 20 4f | 6e 4b 69 6c 6c 49 6e 74 |nction O|nKillInt|
|00000620| 72 75 64 65 72 28 29 0d | 0a 7b 0d 0a 09 53 75 70 |ruder().|.{...Sup|
|00000630| 65 72 2e 4f 6e 4b 69 6c | 6c 49 6e 74 72 75 64 65 |er.OnKil|lIntrude|
|00000640| 72 28 29 3b 0d 0a 09 55 | 6e 47 75 61 72 64 28 29 |r();...U|nGuard()|
|00000650| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2f 2d 2d 2d 2d 2d 2d |;..}....|//------|
|00000660| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 66 75 6e 63 74 69 |--------|..functi|
|000006b0| 6f 6e 20 4f 6e 47 75 61 | 72 64 4c 6f 63 61 74 69 |on OnGua|rdLocati|
|000006c0| 6f 6e 28 29 0d 0a 7b 0d | 0a 09 53 75 70 65 72 2e |on()..{.|..Super.|
|000006d0| 4f 6e 47 75 61 72 64 4c | 6f 63 61 74 69 6f 6e 28 |OnGuardL|ocation(|
|000006e0| 29 3b 0d 0a 09 47 75 61 | 72 64 49 44 20 3d 20 54 |);...Gua|rdID = T|
|000006f0| 65 6e 64 72 69 6c 2e 47 | 75 61 72 64 4c 6f 63 61 |endril.G|uardLoca|
|00000700| 74 69 6f 6e 28 20 4c 6f | 63 61 74 69 6f 6e 20 29 |tion( Lo|cation )|
|00000710| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2f 2d 2d 2d 2d 2d 2d |;..}....|//------|
|00000720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000760| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 66 75 6e 63 74 69 |--------|..functi|
|00000770| 6f 6e 20 4f 6e 47 75 61 | 72 64 53 65 61 6c 28 29 |on OnGua|rdSeal()|
|00000780| 0d 0a 7b 0d 0a 09 53 75 | 70 65 72 2e 4f 6e 47 75 |..{...Su|per.OnGu|
|00000790| 61 72 64 53 65 61 6c 28 | 29 3b 0d 0a 09 69 66 28 |ardSeal(|);...if(|
|000007a0| 20 47 75 61 72 64 49 44 | 20 21 3d 20 63 6c 61 73 | GuardID| != clas|
|000007b0| 73 27 4d 61 73 68 61 64 | 61 72 47 75 69 64 65 27 |s'Mashad|arGuide'|
|000007c0| 2e 64 65 66 61 75 6c 74 | 2e 47 75 61 72 64 53 65 |.default|.GuardSe|
|000007d0| 61 6c 49 44 20 29 0d 0a | 09 7b 0d 0a 09 09 47 75 |alID )..|.{....Gu|
|000007e0| 61 72 64 49 44 20 3d 20 | 54 65 6e 64 72 69 6c 2e |ardID = |Tendril.|
|000007f0| 47 75 61 72 64 53 65 61 | 6c 28 29 3b 0d 0a 09 7d |GuardSea|l();...}|
|00000800| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 2d 2d 2d 2d 2d 2d 2d |..}..../|/-------|
|00000810| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000820| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000830| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 66 75 6e 63 74 69 6f |-------.|.functio|
|00000860| 6e 20 4f 6e 53 6f 75 6e | 64 41 6c 61 72 6d 28 29 |n OnSoun|dAlarm()|
|00000870| 0d 0a 7b 0d 0a 09 53 75 | 70 65 72 2e 4f 6e 53 6f |..{...Su|per.OnSo|
|00000880| 75 6e 64 41 6c 61 72 6d | 28 29 3b 0d 0a 09 55 6e |undAlarm|();...Un|
|00000890| 47 75 61 72 64 28 29 3b | 0d 0a 7d 0d 0a 0d 0a 2f |Guard();|..}..../|
|000008a0| 2f 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/-------|--------|
|000008b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000008f0| 0a 66 75 6e 63 74 69 6f | 6e 20 4f 6e 47 65 74 48 |.functio|n OnGetH|
|00000900| 65 6c 70 28 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |elp()..{|...Super|
|00000910| 2e 4f 6e 47 65 74 48 65 | 6c 70 28 29 3b 0d 0a 09 |.OnGetHe|lp();...|
|00000920| 55 6e 47 75 61 72 64 28 | 29 3b 0d 0a 7d 0d 0a 0d |UnGuard(|);..}...|
|00000930| 0a 2f 2f 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.//-----|--------|
|00000940| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000960| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000980| 2d 0d 0a 2f 2f 20 55 6e | 64 6f 20 61 6e 79 20 65 |-..// Un|do any e|
|00000990| 78 69 73 74 69 6e 67 20 | 67 75 61 72 64 69 6e 67 |xisting |guarding|
|000009a0| 20 6f 72 64 65 72 73 20 | 61 6e 64 20 61 63 74 20 | orders |and act |
|000009b0| 61 73 20 6e 6f 72 6d 61 | 6c 2e 0d 0a 2f 2f 2d 2d |as norma|l...//--|
|000009c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 66 75 |--------|----..fu|
|00000a10| 6e 63 74 69 6f 6e 20 55 | 6e 47 75 61 72 64 28 29 |nction U|nGuard()|
|00000a20| 0d 0a 7b 0d 0a 09 69 66 | 28 20 47 75 61 72 64 49 |..{...if|( GuardI|
|00000a30| 44 20 21 3d 20 63 6c 61 | 73 73 27 4d 61 73 68 61 |D != cla|ss'Masha|
|00000a40| 64 61 72 46 6f 63 75 73 | 50 61 77 6e 27 2e 64 65 |darFocus|Pawn'.de|
|00000a50| 66 61 75 6c 74 2e 47 75 | 61 72 64 49 44 20 29 0d |fault.Gu|ardID ).|
|00000a60| 0a 09 7b 0d 0a 09 09 54 | 65 6e 64 72 69 6c 2e 55 |..{....T|endril.U|
|00000a70| 6e 47 75 61 72 64 28 20 | 47 75 61 72 64 49 44 20 |nGuard( |GuardID |
|00000a80| 29 3b 0d 0a 09 09 47 75 | 61 72 64 49 44 20 3d 20 |);....Gu|ardID = |
|00000a90| 63 6c 61 73 73 27 4d 61 | 73 68 61 64 61 72 46 6f |class'Ma|shadarFo|
|00000aa0| 63 75 73 50 61 77 6e 27 | 2e 64 65 66 61 75 6c 74 |cusPawn'|.default|
|00000ab0| 2e 47 75 61 72 64 49 44 | 3b 0d 0a 09 7d 0d 0a 7d |.GuardID|;...}..}|
|00000ac0| 0d 0a 0d 0a 2f 2f 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |....//--|--------|
|00000ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b10| 2d 2d 2d 2d 0d 0a 2f 2f | 20 48 6f 77 20 74 68 69 |----..//| How thi|
|00000b20| 73 20 63 6c 61 73 73 20 | 77 6f 72 6b 73 3a 0d 0a |s class |works:..|
|00000b30| 2f 2f 0d 0a 2f 2f 20 4e | 6f 74 65 3a 20 54 68 65 |//..// N|ote: The|
|00000b40| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 68 61 73 20 62 | followi|ng has b|
|00000b50| 65 65 6e 20 4f 42 45 20 | 69 6e 20 66 61 76 6f 72 |een OBE |in favor|
|00000b60| 20 6f 66 20 61 20 73 69 | 6d 70 6c 65 72 20 69 6e | of a si|mpler in|
|00000b70| 74 65 72 66 61 63 65 2e | 0d 0a 2f 2f 20 2b 20 4f |terface.|..// + O|
|00000b80| 6e 20 48 69 64 65 28 29 | 09 09 2d 20 54 65 6c 6c |n Hide()|..- Tell|
|00000b90| 20 6f 75 72 20 4d 61 73 | 68 61 64 61 72 20 74 6f | our Mas|hadar to|
|00000ba0| 20 72 65 74 72 61 63 74 | 2e 0d 0a 2f 2f 20 2b 20 | retract|...// + |
|00000bb0| 4f 6e 20 44 65 70 6c 6f | 79 28 29 09 2d 20 47 65 |On Deplo|y().- Ge|
|00000bc0| 74 20 74 68 65 20 63 6c | 6f 73 65 73 74 20 4d 61 |t the cl|osest Ma|
|00000bd0| 73 68 61 64 61 72 20 61 | 6e 64 20 74 65 6c 6c 20 |shadar a|nd tell |
|00000be0| 69 74 20 74 6f 20 66 6f | 6c 6c 6f 77 20 75 73 2e |it to fo|llow us.|
|00000bf0| 0d 0a 2f 2f 09 09 09 09 | 09 2d 20 46 61 69 6c 20 |..//....|.- Fail |
|00000c00| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 4d |if there| is no M|
|00000c10| 61 73 68 61 64 61 72 20 | 74 68 61 74 20 69 73 20 |ashadar |that is |
|00000c20| 22 63 6c 6f 73 65 20 65 | 6e 6f 75 67 68 22 2e 0d |"close e|nough"..|
|00000c30| 0a 2f 2f 20 2b 20 4f 6e | 20 45 6e 64 45 64 69 74 |.// + On| EndEdit|
|00000c40| 28 29 09 2d 20 44 65 70 | 6c 6f 79 20 6f 75 72 20 |().- Dep|loy our |
|00000c50| 4d 61 73 68 61 64 61 72 | 2e 0d 0a 2f 2f 09 09 09 |Mashadar|...//...|
|00000c60| 09 09 2d 20 52 65 74 72 | 61 63 74 20 6f 75 72 20 |..- Retr|act our |
|00000c70| 4d 61 73 68 61 64 61 72 | 2e 0d 0a 2f 2f 2d 2d 2d |Mashadar|...//---|
|00000c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ca0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000cb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000cc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 0d 0a 0d |--------|---.....|
|00000cd0| 0a 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |.///////|////////|
|00000ce0| 2f 2f 2f 2f 2f 2f 2f 0d | 0a 2f 2f 20 45 64 69 74 |///////.|.// Edit|
|00000cf0| 6f 72 20 49 6e 74 65 72 | 66 61 63 65 20 2f 2f 0d |or Inter|face //.|
|00000d00| 0a 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |.///////|////////|
|00000d10| 2f 2f 2f 2f 2f 2f 2f 0d | 0a 0d 0a 2f 2f 2d 2d 2d |///////.|...//---|
|00000d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 2f 2f 20 |--------|---..// |
|00000d70| 44 65 70 6c 6f 79 20 6f | 75 72 20 43 6c 6f 73 65 |Deploy o|ur Close|
|00000d80| 73 74 4d 61 73 68 61 64 | 61 72 20 61 6e 64 20 74 |stMashad|ar and t|
|00000d90| 65 6c 6c 20 69 74 20 74 | 6f 20 72 65 74 72 61 63 |ell it t|o retrac|
|00000da0| 74 2e 0d 0a 2f 2f 20 2d | 20 43 61 6c 6c 65 64 20 |t...// -| Called |
|00000db0| 77 68 65 6e 20 74 68 65 | 20 73 65 72 76 65 72 20 |when the| server |
|00000dc0| 65 78 69 74 73 20 74 68 | 65 20 43 69 74 61 64 65 |exits th|e Citade|
|00000dd0| 6c 45 64 69 74 6f 72 2e | 0d 0a 2f 2f 2d 2d 2d 2d |lEditor.|..//----|
|00000de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0a 66 75 6e 63 |--------|--..func|
|00000e30| 74 69 6f 6e 20 45 6e 64 | 45 64 69 74 69 6e 67 52 |tion End|EditingR|
|00000e40| 65 73 6f 75 72 63 65 28 | 29 0d 0a 7b 0d 0a 09 69 |esource(|)..{...i|
|00000e50| 66 28 20 43 6c 6f 73 65 | 73 74 4d 61 73 68 61 64 |f( Close|stMashad|
|00000e60| 61 72 20 21 3d 20 4e 6f | 6e 65 20 26 26 20 43 6c |ar != No|ne && Cl|
|00000e70| 6f 73 65 73 74 4d 61 73 | 68 61 64 61 72 2e 46 6f |osestMas|hadar.Fo|
|00000e80| 63 75 73 50 61 77 6e 20 | 3d 3d 20 53 65 6c 66 20 |cusPawn |== Self |
|00000e90| 29 0d 0a 09 7b 0d 0a 09 | 09 43 6c 6f 73 65 73 74 |)...{...|.Closest|
|00000ea0| 4d 61 73 68 61 64 61 72 | 2e 53 65 74 46 6f 63 75 |Mashadar|.SetFocu|
|00000eb0| 73 50 61 77 6e 28 20 4e | 6f 6e 65 20 29 3b 0d 0a |sPawn( N|one );..|
|00000ec0| 09 7d 0d 0a 0d 0a 09 48 | 69 64 65 28 29 3b 0d 0a |.}.....H|ide();..|
|00000ed0| 0d 0a 09 53 75 70 65 72 | 2e 45 6e 64 45 64 69 74 |...Super|.EndEdit|
|00000ee0| 69 6e 67 52 65 73 6f 75 | 72 63 65 28 29 3b 0d 0a |ingResou|rce();..|
|00000ef0| 7d 0d 0a 0d 0a 2f 2f 2d | 2d 2d 2d 2d 2d 2d 2d 2d |}....//-|--------|
|00000f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f40| 2d 2d 2d 2d 2d 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |-----..s|imulated|
|00000f50| 20 66 75 6e 63 74 69 6f | 6e 20 42 65 67 69 6e 45 | functio|n BeginE|
|00000f60| 64 69 74 69 6e 67 52 65 | 73 6f 75 72 63 65 28 20 |ditingRe|source( |
|00000f70| 69 6e 74 20 50 6c 61 63 | 65 64 42 79 54 65 61 6d |int Plac|edByTeam|
|00000f80| 20 29 0d 0a 7b 0d 0a 09 | 53 75 70 65 72 2e 42 65 | )..{...|Super.Be|
|00000f90| 67 69 6e 45 64 69 74 69 | 6e 67 52 65 73 6f 75 72 |ginEditi|ngResour|
|00000fa0| 63 65 28 20 50 6c 61 63 | 65 64 42 79 54 65 61 6d |ce( Plac|edByTeam|
|00000fb0| 20 29 3b 0d 0a 09 0d 0a | 09 53 68 6f 77 28 29 3b | );.....|.Show();|
|00000fc0| 0d 0a 0d 0a 09 69 66 28 | 20 43 6c 6f 73 65 73 74 |.....if(| Closest|
|00000fd0| 4d 61 73 68 61 64 61 72 | 20 21 3d 20 4e 6f 6e 65 |Mashadar| != None|
|00000fe0| 20 26 26 20 43 6c 6f 73 | 65 73 74 4d 61 73 68 61 | && Clos|estMasha|
|00000ff0| 64 61 72 2e 46 6f 63 75 | 73 50 61 77 6e 20 21 3d |dar.Focu|sPawn !=|
|00001000| 20 53 65 6c 66 20 29 0d | 0a 09 7b 0d 0a 09 09 43 | Self ).|..{....C|
|00001010| 6c 6f 73 65 73 74 4d 61 | 73 68 61 64 61 72 2e 53 |losestMa|shadar.S|
|00001020| 65 74 46 6f 63 75 73 50 | 61 77 6e 28 20 53 65 6c |etFocusP|awn( Sel|
|00001030| 66 20 29 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 2f |f );...}|..}..../|
|00001040| 2f 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/-------|--------|
|00001050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00001090| 0a 2f 2f 20 43 61 6c 6c | 65 64 20 77 68 65 6e 20 |.// Call|ed when |
|000010a0| 74 68 65 20 75 73 65 72 | 20 6c 65 66 74 20 63 6c |the user| left cl|
|000010b0| 69 63 6b 73 20 74 6f 20 | 70 6c 61 63 65 20 75 73 |icks to |place us|
|000010c0| 20 69 6e 20 74 68 65 20 | 6c 65 76 65 6c 2e 0d 0a | in the |level...|
|000010d0| 2f 2f 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |//------|--------|
|000010e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000010f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001120| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 62 6f 6f 6c 20 |..functi|on bool |
|00001130| 41 63 74 69 76 61 74 65 | 52 65 73 6f 75 72 63 65 |Activate|Resource|
|00001140| 28 20 62 6f 6f 6c 20 62 | 43 68 61 6e 67 65 53 74 |( bool b|ChangeSt|
|00001150| 61 74 65 20 29 0d 0a 7b | 0d 0a 09 69 66 28 20 43 |ate )..{|...if( C|
|00001160| 6c 6f 73 65 73 74 4d 61 | 73 68 61 64 61 72 20 21 |losestMa|shadar !|
|00001170| 3d 20 4e 6f 6e 65 20 29 | 20 0d 0a 09 7b 0d 0a 09 |= None )| ...{...|
|00001180| 09 69 66 28 20 43 6c 6f | 73 65 73 74 4d 61 73 68 |.if( Clo|sestMash|
|00001190| 61 64 61 72 2e 46 6f 63 | 75 73 50 61 77 6e 20 21 |adar.Foc|usPawn !|
|000011a0| 3d 20 53 65 6c 66 20 29 | 0d 0a 09 09 7b 0d 0a 09 |= Self )|....{...|
|000011b0| 09 09 43 6c 6f 73 65 73 | 74 4d 61 73 68 61 64 61 |..Closes|tMashada|
|000011c0| 72 2e 53 65 74 46 6f 63 | 75 73 50 61 77 6e 28 20 |r.SetFoc|usPawn( |
|000011d0| 53 65 6c 66 20 29 3b 0d | 0a 09 09 7d 0d 0a 09 09 |Self );.|...}....|
|000011e0| 43 6c 6f 73 65 73 74 4d | 61 73 68 61 64 61 72 2e |ClosestM|ashadar.|
|000011f0| 44 65 70 6c 6f 79 28 29 | 3b 0d 0a 09 7d 0d 0a 0d |Deploy()|;...}...|
|00001200| 0a 09 72 65 74 75 72 6e | 20 74 72 75 65 3b 09 2f |..return| true;./|
|00001210| 2f 20 54 68 69 73 20 72 | 65 74 75 72 6e 20 76 61 |/ This r|eturn va|
|00001220| 6c 75 65 20 68 61 73 20 | 6e 6f 20 73 70 65 63 69 |lue has |no speci|
|00001230| 66 69 63 20 6d 65 61 6e | 69 6e 67 20 61 73 73 6f |fic mean|ing asso|
|00001240| 63 69 61 74 65 64 20 77 | 69 74 68 20 69 74 2e 0d |ciated w|ith it..|
|00001250| 0a 7d 0d 0a 0d 0a 2f 2f | 2d 2d 2d 2d 2d 2d 2d 2d |.}....//|--------|
|00001260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001290| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000012a0| 2d 2d 2d 2d 2d 2d 0d 0a | 2f 2f 20 43 61 6c 6c 65 |------..|// Calle|
|000012b0| 64 20 77 68 65 6e 20 74 | 68 65 20 75 73 65 72 20 |d when t|he user |
|000012c0| 72 69 67 68 74 20 63 6c | 69 63 6b 73 20 74 6f 20 |right cl|icks to |
|000012d0| 72 65 6d 6f 76 65 20 75 | 73 20 66 72 6f 6d 20 74 |remove u|s from t|
|000012e0| 68 65 20 6c 65 76 65 6c | 2e 0d 0a 2f 2f 20 31 29 |he level|...// 1)|
|000012f0| 20 55 6e 64 65 70 6c 6f | 79 20 6f 75 72 20 63 6c | Undeplo|y our cl|
|00001300| 6f 73 65 73 74 20 6d 61 | 73 68 61 64 61 72 2e 0d |osest ma|shadar..|
|00001310| 0a 2f 2f 20 32 29 20 54 | 65 6c 6c 20 69 74 20 74 |.// 2) T|ell it t|
|00001320| 6f 20 72 65 74 72 61 63 | 74 2e 0d 0a 2f 2f 2d 2d |o retrac|t...//--|
|00001330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001340| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001350| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001360| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001370| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 66 75 |--------|----..fu|
|00001380| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 52 65 6d 6f |nction b|ool Remo|
|00001390| 76 65 52 65 73 6f 75 72 | 63 65 28 29 0d 0a 7b 0d |veResour|ce()..{.|
|000013a0| 0a 09 69 66 28 20 43 6c | 6f 73 65 73 74 4d 61 73 |..if( Cl|osestMas|
|000013b0| 68 61 64 61 72 20 21 3d | 20 4e 6f 6e 65 20 26 26 |hadar !=| None &&|
|000013c0| 20 43 6c 6f 73 65 73 74 | 4d 61 73 68 61 64 61 72 | Closest|Mashadar|
|000013d0| 2e 46 6f 63 75 73 50 61 | 77 6e 20 3d 3d 20 53 65 |.FocusPa|wn == Se|
|000013e0| 6c 66 20 29 0d 0a 09 7b | 0d 0a 09 09 55 6e 47 75 |lf )...{|....UnGu|
|000013f0| 61 72 64 28 29 3b 0d 0a | 09 09 43 6c 6f 73 65 73 |ard();..|..Closes|
|00001400| 74 4d 61 73 68 61 64 61 | 72 2e 53 65 74 46 6f 63 |tMashada|r.SetFoc|
|00001410| 75 73 50 61 77 6e 28 20 | 4e 6f 6e 65 20 29 3b 0d |usPawn( |None );.|
|00001420| 0a 09 7d 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 52 65 |..}.....|Super.Re|
|00001430| 6d 6f 76 65 52 65 73 6f | 75 72 63 65 28 29 3b 0d |moveReso|urce();.|
|00001440| 0a 0d 0a 09 72 65 74 75 | 72 6e 20 74 72 75 65 3b |....retu|rn true;|
|00001450| 09 2f 2f 20 54 68 69 73 | 20 72 65 74 75 72 6e 20 |.// This| return |
|00001460| 76 61 6c 75 65 20 68 61 | 73 20 6e 6f 20 73 70 65 |value ha|s no spe|
|00001470| 63 69 66 69 63 20 6d 65 | 61 6e 69 6e 67 20 61 73 |cific me|aning as|
|00001480| 73 6f 63 69 61 74 65 64 | 20 77 69 74 68 20 69 74 |sociated| with it|
|00001490| 2e 0d 0a 7d 0d 0a 0d 0a | 2f 2f 2d 2d 2d 2d 2d 2d |...}....|//------|
|000014a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014e0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 2f 2f 20 31 29 20 |--------|..// 1) |
|000014f0| 54 72 79 73 20 74 6f 20 | 70 6c 61 63 65 20 74 68 |Trys to |place th|
|00001500| 65 20 4d 61 73 68 61 64 | 61 72 46 6f 63 75 73 50 |e Mashad|arFocusP|
|00001510| 61 77 6e 20 61 74 20 74 | 68 65 20 67 69 76 65 6e |awn at t|he given|
|00001520| 20 70 6f 73 69 74 69 6f | 6e 2e 20 20 0d 0a 2f 2f | positio|n. ..//|
|00001530| 20 32 29 20 41 64 6a 75 | 73 74 73 20 74 68 65 20 | 2) Adju|sts the |
|00001540| 70 6f 73 69 74 69 6f 6e | 20 61 73 20 6e 65 65 64 |position| as need|
|00001550| 65 64 2e 0d 0a 2f 2f 20 | 33 29 20 52 65 74 75 72 |ed...// |3) Retur|
|00001560| 6e 73 20 66 61 6c 73 65 | 20 69 66 20 69 74 20 73 |ns false| if it s|
|00001570| 69 6d 70 6c 79 20 63 61 | 6e 6e 6f 74 20 70 6c 61 |imply ca|nnot pla|
|00001580| 63 65 20 69 74 20 74 68 | 65 72 65 2e 0d 0a 2f 2f |ce it th|ere...//|
|00001590| 20 34 29 20 46 69 6e 64 | 73 20 74 68 65 20 63 6c | 4) Find|s the cl|
|000015a0| 6f 73 65 73 74 20 4d 61 | 73 68 61 64 61 72 47 75 |osest Ma|shadarGu|
|000015b0| 69 64 65 20 61 6e 64 20 | 74 65 6c 6c 73 20 69 74 |ide and |tells it|
|000015c0| 20 74 6f 20 66 6f 6c 6c | 6f 77 20 6f 75 72 20 70 | to foll|ow our p|
|000015d0| 61 72 65 6e 74 2e 0d 0a | 2f 2f 2d 2d 2d 2d 2d 2d |arent...|//------|
|000015e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000015f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001610| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001620| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 66 75 6e 63 74 69 |--------|..functi|
|00001630| 6f 6e 20 62 6f 6f 6c 20 | 44 65 70 6c 6f 79 52 65 |on bool |DeployRe|
|00001640| 73 6f 75 72 63 65 28 20 | 76 65 63 74 6f 72 20 48 |source( |vector H|
|00001650| 69 74 4c 6f 63 61 74 69 | 6f 6e 2c 20 76 65 63 74 |itLocati|on, vect|
|00001660| 6f 72 20 48 69 74 4e 6f | 72 6d 61 6c 20 29 0d 0a |or HitNo|rmal )..|
|00001670| 7b 0d 0a 09 53 75 70 65 | 72 2e 44 65 70 6c 6f 79 |{...Supe|r.Deploy|
|00001680| 52 65 73 6f 75 72 63 65 | 28 20 48 69 74 4c 6f 63 |Resource|( HitLoc|
|00001690| 61 74 69 6f 6e 2c 20 48 | 69 74 4e 6f 72 6d 61 6c |ation, H|itNormal|
|000016a0| 20 29 3b 0d 0a 0d 0a 09 | 2f 2f 20 46 69 6e 64 20 | );.....|// Find |
|000016b0| 74 68 65 20 63 6c 6f 73 | 65 73 74 20 4d 61 73 68 |the clos|est Mash|
|000016c0| 61 64 61 72 47 75 69 64 | 65 2e 0d 0a 09 43 6c 6f |adarGuid|e....Clo|
|000016d0| 73 65 73 74 4d 61 73 68 | 61 64 61 72 20 3d 20 47 |sestMash|adar = G|
|000016e0| 65 74 43 6c 6f 73 65 73 | 74 4d 61 73 68 61 64 61 |etCloses|tMashada|
|000016f0| 72 28 20 4c 6f 63 61 74 | 69 6f 6e 20 29 3b 0d 0a |r( Locat|ion );..|
|00001700| 0d 0a 09 72 65 74 75 72 | 6e 20 43 6c 6f 73 65 73 |...retur|n Closes|
|00001710| 74 4d 61 73 68 61 64 61 | 72 20 21 3d 20 4e 6f 6e |tMashada|r != Non|
|00001720| 65 3b 0d 0a 7d 0d 0a 0d | 0a 2f 2f 2f 2f 2f 2f 2f |e;..}...|.///////|
|00001730| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 0d |////////|///////.|
|00001740| 0a 2f 2f 20 48 65 6c 70 | 65 72 20 66 75 6e 63 74 |.// Help|er funct|
|00001750| 69 6f 6e 73 20 2f 2f 0d | 0a 2f 2f 2f 2f 2f 2f 2f |ions //.|.///////|
|00001760| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 0d |////////|///////.|
|00001770| 0a 0d 0a 2f 2f 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...//---|--------|
|00001780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017c0| 2d 2d 2d 0d 0a 2f 2f 20 | 52 65 74 75 72 6e 73 20 |---..// |Returns |
|000017d0| 74 68 65 20 4d 61 73 68 | 61 64 61 72 47 75 69 64 |the Mash|adarGuid|
|000017e0| 65 20 63 6c 6f 73 65 73 | 74 20 74 6f 20 74 68 65 |e closes|t to the|
|000017f0| 20 67 69 76 65 6e 20 50 | 6f 73 69 74 69 6f 6e 20 | given P|osition |
|00001800| 74 68 61 74 20 69 73 20 | 6e 6f 74 0d 0a 2f 2f 20 |that is |not..// |
|00001810| 63 75 72 72 65 6e 74 6c | 79 20 61 63 74 69 76 65 |currentl|y active|
|00001820| 20 6f 72 20 64 6f 69 6e | 67 20 61 20 66 75 6c 6c | or doin|g a full|
|00001830| 20 72 65 74 72 61 63 74 | 2e 0d 0a 2f 2f 2d 2d 2d | retract|...//---|
|00001840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 66 75 6e |--------|---..fun|
|00001890| 63 74 69 6f 6e 20 4d 61 | 73 68 61 64 61 72 47 75 |ction Ma|shadarGu|
|000018a0| 69 64 65 20 47 65 74 43 | 6c 6f 73 65 73 74 4d 61 |ide GetC|losestMa|
|000018b0| 73 68 61 64 61 72 28 20 | 76 65 63 74 6f 72 20 50 |shadar( |vector P|
|000018c0| 6f 73 69 74 69 6f 6e 20 | 29 0d 0a 7b 0d 0a 09 6c |osition |)..{...l|
|000018d0| 6f 63 61 6c 20 4d 61 73 | 68 61 64 61 72 47 75 69 |ocal Mas|hadarGui|
|000018e0| 64 65 20 49 74 65 72 4d | 2c 20 43 6c 6f 73 65 73 |de IterM|, Closes|
|000018f0| 74 4d 3b 0d 0a 0d 0a 09 | 2f 2f 20 4e 4f 54 45 5b |tM;.....|// NOTE[|
|00001900| 61 6c 65 69 62 79 5d 3a | 20 46 61 63 74 6f 72 20 |aleiby]:| Factor |
|00001910| 6f 75 74 20 64 75 70 6c | 69 63 61 74 65 20 63 6f |out dupl|icate co|
|00001920| 64 65 3f 0d 0a 09 0d 0a | 09 2f 2f 20 41 73 20 61 |de?.....|.// As a|
|00001930| 6e 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 2c 20 |n optimi|zation, |
|00001940| 69 66 20 77 65 20 61 6c | 72 65 61 64 79 20 68 61 |if we al|ready ha|
|00001950| 76 65 20 61 20 43 6c 6f | 73 65 73 74 4d 61 73 68 |ve a Clo|sestMash|
|00001960| 61 64 61 72 2c 20 6f 6e | 6c 79 20 63 68 65 63 6b |adar, on|ly check|
|00001970| 20 0d 0a 09 2f 2f 20 66 | 6f 72 20 4d 61 73 68 61 | ...// f|or Masha|
|00001980| 64 61 72 20 74 68 61 74 | 20 61 72 65 20 63 6c 6f |dar that| are clo|
|00001990| 73 65 72 2e 0d 0a 09 69 | 66 28 20 43 6c 6f 73 65 |ser....i|f( Close|
|000019a0| 73 74 4d 61 73 68 61 64 | 61 72 20 21 3d 20 4e 6f |stMashad|ar != No|
|000019b0| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 69 66 28 20 |ne )...{|....if( |
|000019c0| 56 53 69 7a 65 28 20 50 | 6f 73 69 74 69 6f 6e 20 |VSize( P|osition |
|000019d0| 2d 20 43 6c 6f 73 65 73 | 74 4d 61 73 68 61 64 61 |- Closes|tMashada|
|000019e0| 72 2e 48 69 64 69 6e 67 | 50 6c 61 63 65 2e 4c 6f |r.Hiding|Place.Lo|
|000019f0| 63 61 74 69 6f 6e 20 29 | 20 3c 20 43 6c 6f 73 65 |cation )| < Close|
|00001a00| 73 74 4d 61 73 68 61 64 | 61 72 2e 53 65 61 72 63 |stMashad|ar.Searc|
|00001a10| 68 52 61 64 69 75 73 20 | 29 0d 0a 09 09 7b 0d 0a |hRadius |)....{..|
|00001a20| 09 09 09 43 6c 6f 73 65 | 73 74 4d 20 3d 20 43 6c |...Close|stM = Cl|
|00001a30| 6f 73 65 73 74 4d 61 73 | 68 61 64 61 72 3b 0d 0a |osestMas|hadar;..|
|00001a40| 09 09 7d 0d 0a 09 09 66 | 6f 72 65 61 63 68 20 52 |..}....f|oreach R|
|00001a50| 61 64 69 75 73 41 63 74 | 6f 72 73 28 20 63 6c 61 |adiusAct|ors( cla|
|00001a60| 73 73 27 4d 61 73 68 61 | 64 61 72 47 75 69 64 65 |ss'Masha|darGuide|
|00001a70| 27 2c 20 49 74 65 72 4d | 2c 20 56 53 69 7a 65 28 |', IterM|, VSize(|
|00001a80| 20 50 6f 73 69 74 69 6f | 6e 20 2d 20 43 6c 6f 73 | Positio|n - Clos|
|00001a90| 65 73 74 4d 61 73 68 61 | 64 61 72 2e 48 69 64 69 |estMasha|dar.Hidi|
|00001aa0| 6e 67 50 6c 61 63 65 2e | 4c 6f 63 61 74 69 6f 6e |ngPlace.|Location|
|00001ab0| 20 29 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 2f 2f | ) )....|{.....//|
|00001ac0| 20 4f 6e 6c 79 20 63 68 | 65 63 6b 20 4d 61 73 68 | Only ch|eck Mash|
|00001ad0| 61 64 61 72 20 74 68 61 | 74 20 61 72 65 20 6e 6f |adar tha|t are no|
|00001ae0| 74 20 61 63 74 69 76 61 | 74 65 64 2c 20 63 61 6e |t activa|ted, can|
|00001af0| 20 72 65 61 63 68 20 74 | 68 65 20 67 69 76 65 6e | reach t|he given|
|00001b00| 20 70 6f 73 69 74 69 6f | 6e 2c 0d 0a 09 09 09 2f | positio|n,...../|
|00001b10| 2f 20 61 72 65 20 6f 6e | 20 6f 75 72 20 74 65 61 |/ are on| our tea|
|00001b20| 6d 2c 20 61 6e 64 20 61 | 72 65 20 6e 6f 74 20 69 |m, and a|re not i|
|00001b30| 6e 20 74 68 65 20 6d 69 | 64 73 74 20 6f 66 20 61 |n the mi|dst of a|
|00001b40| 20 66 75 6c 6c 20 72 65 | 74 72 61 63 74 2e 0d 0a | full re|tract...|
|00001b50| 09 09 09 69 66 0d 0a 09 | 09 09 28 09 21 49 74 65 |...if...|..(.!Ite|
|00001b60| 72 4d 2e 62 46 75 6c 6c | 52 65 74 72 61 63 74 0d |rM.bFull|Retract.|
|00001b70| 0a 09 09 09 2f 2f 26 26 | 09 49 74 65 72 4d 2e 54 |....//&&|.IterM.T|
|00001b80| 65 61 6d 20 3d 3d 20 54 | 65 61 6d 0d 0a 09 09 09 |eam == T|eam.....|
|00001b90| 26 26 09 21 49 74 65 72 | 4d 2e 46 6f 6c 6c 6f 77 |&&.!Iter|M.Follow|
|00001ba0| 69 6e 67 46 6f 63 75 73 | 50 61 77 6e 28 29 20 0d |ingFocus|Pawn() .|
|00001bb0| 0a 09 09 09 26 26 09 56 | 53 69 7a 65 28 20 50 6f |....&&.V|Size( Po|
|00001bc0| 73 69 74 69 6f 6e 20 2d | 20 49 74 65 72 4d 2e 48 |sition -| IterM.H|
|00001bd0| 69 64 69 6e 67 50 6c 61 | 63 65 2e 4c 6f 63 61 74 |idingPla|ce.Locat|
|00001be0| 69 6f 6e 20 29 20 3c 20 | 49 74 65 72 4d 2e 53 65 |ion ) < |IterM.Se|
|00001bf0| 61 72 63 68 52 61 64 69 | 75 73 0d 0a 09 09 09 29 |archRadi|us.....)|
|00001c00| 0d 0a 09 09 09 7b 0d 0a | 09 09 09 09 69 66 28 20 |.....{..|....if( |
|00001c10| 43 6c 6f 73 65 73 74 4d | 20 3d 3d 20 4e 6f 6e 65 |ClosestM| == None|
|00001c20| 20 29 0d 0a 09 09 09 09 | 7b 0d 0a 09 09 09 09 09 | )......|{.......|
|00001c30| 43 6c 6f 73 65 73 74 4d | 20 3d 20 49 74 65 72 4d |ClosestM| = IterM|
|00001c40| 3b 0d 0a 09 09 09 09 7d | 0d 0a 09 09 09 09 65 6c |;......}|......el|
|00001c50| 73 65 20 69 66 0d 0a 09 | 09 09 09 28 09 56 53 69 |se if...|...(.VSi|
|00001c60| 7a 65 28 20 50 6f 73 69 | 74 69 6f 6e 20 2d 20 49 |ze( Posi|tion - I|
|00001c70| 74 65 72 4d 2e 48 69 64 | 69 6e 67 50 6c 61 63 65 |terM.Hid|ingPlace|
|00001c80| 2e 4c 6f 63 61 74 69 6f | 6e 20 29 20 0d 0a 09 09 |.Locatio|n ) ....|
|00001c90| 09 09 3c 09 56 53 69 7a | 65 28 20 50 6f 73 69 74 |..<.VSiz|e( Posit|
|00001ca0| 69 6f 6e 20 2d 20 43 6c | 6f 73 65 73 74 4d 2e 48 |ion - Cl|osestM.H|
|00001cb0| 69 64 69 6e 67 50 6c 61 | 63 65 2e 4c 6f 63 61 74 |idingPla|ce.Locat|
|00001cc0| 69 6f 6e 20 29 20 0d 0a | 09 09 09 09 29 0d 0a 09 |ion ) ..|....)...|
|00001cd0| 09 09 09 7b 0d 0a 09 09 | 09 09 09 43 6c 6f 73 65 |...{....|...Close|
|00001ce0| 73 74 4d 20 3d 20 49 74 | 65 72 4d 3b 0d 0a 09 09 |stM = It|erM;....|
|00001cf0| 09 09 7d 0d 0a 09 09 09 | 7d 0d 0a 09 09 7d 0d 0a |..}.....|}....}..|
|00001d00| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |.}...els|e...{...|
|00001d10| 09 66 6f 72 65 61 63 68 | 20 41 6c 6c 41 63 74 6f |.foreach| AllActo|
|00001d20| 72 73 28 20 63 6c 61 73 | 73 27 4d 61 73 68 61 64 |rs( clas|s'Mashad|
|00001d30| 61 72 47 75 69 64 65 27 | 2c 20 49 74 65 72 4d 20 |arGuide'|, IterM |
|00001d40| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 2f 2f 20 4f 6e |)....{..|...// On|
|00001d50| 6c 79 20 63 68 65 63 6b | 20 4d 61 73 68 61 64 61 |ly check| Mashada|
|00001d60| 72 20 74 68 61 74 20 61 | 72 65 20 6e 6f 74 20 61 |r that a|re not a|
|00001d70| 63 74 69 76 61 74 65 64 | 2c 20 63 61 6e 20 72 65 |ctivated|, can re|
|00001d80| 61 63 68 20 74 68 65 20 | 67 69 76 65 6e 20 70 6f |ach the |given po|
|00001d90| 73 69 74 69 6f 6e 2c 0d | 0a 09 09 09 2f 2f 20 61 |sition,.|....// a|
|00001da0| 72 65 20 6f 6e 20 6f 75 | 72 20 74 65 61 6d 2c 20 |re on ou|r team, |
|00001db0| 61 6e 64 20 61 72 65 20 | 6e 6f 74 20 69 6e 20 74 |and are |not in t|
|00001dc0| 68 65 20 6d 69 64 73 74 | 20 6f 66 20 61 20 66 75 |he midst| of a fu|
|00001dd0| 6c 6c 20 72 65 74 72 61 | 63 74 2e 0d 0a 09 09 09 |ll retra|ct......|
|00001de0| 69 66 0d 0a 09 09 09 28 | 09 21 49 74 65 72 4d 2e |if.....(|.!IterM.|
|00001df0| 62 46 75 6c 6c 52 65 74 | 72 61 63 74 0d 0a 09 09 |bFullRet|ract....|
|00001e00| 09 2f 2f 26 26 09 49 74 | 65 72 4d 2e 54 65 61 6d |.//&&.It|erM.Team|
|00001e10| 20 3d 3d 20 54 65 61 6d | 0d 0a 09 09 09 26 26 09 | == Team|.....&&.|
|00001e20| 21 49 74 65 72 4d 2e 46 | 6f 6c 6c 6f 77 69 6e 67 |!IterM.F|ollowing|
|00001e30| 46 6f 63 75 73 50 61 77 | 6e 28 29 20 0d 0a 09 09 |FocusPaw|n() ....|
|00001e40| 09 26 26 09 56 53 69 7a | 65 28 20 50 6f 73 69 74 |.&&.VSiz|e( Posit|
|00001e50| 69 6f 6e 20 2d 20 49 74 | 65 72 4d 2e 48 69 64 69 |ion - It|erM.Hidi|
|00001e60| 6e 67 50 6c 61 63 65 2e | 4c 6f 63 61 74 69 6f 6e |ngPlace.|Location|
|00001e70| 20 29 20 3c 20 49 74 65 | 72 4d 2e 53 65 61 72 63 | ) < Ite|rM.Searc|
|00001e80| 68 52 61 64 69 75 73 0d | 0a 09 09 09 29 0d 0a 09 |hRadius.|....)...|
|00001e90| 09 09 7b 0d 0a 09 09 09 | 09 69 66 28 20 43 6c 6f |..{.....|.if( Clo|
|00001ea0| 73 65 73 74 4d 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |sestM ==| None ).|
|00001eb0| 0a 09 09 09 09 7b 0d 0a | 09 09 09 09 09 43 6c 6f |.....{..|.....Clo|
|00001ec0| 73 65 73 74 4d 20 3d 20 | 49 74 65 72 4d 3b 0d 0a |sestM = |IterM;..|
|00001ed0| 09 09 09 09 7d 0d 0a 09 | 09 09 09 65 6c 73 65 20 |....}...|...else |
|00001ee0| 69 66 0d 0a 09 09 09 09 | 28 09 56 53 69 7a 65 28 |if......|(.VSize(|
|00001ef0| 20 50 6f 73 69 74 69 6f | 6e 20 2d 20 49 74 65 72 | Positio|n - Iter|
|00001f00| 4d 2e 48 69 64 69 6e 67 | 50 6c 61 63 65 2e 4c 6f |M.Hiding|Place.Lo|
|00001f10| 63 61 74 69 6f 6e 20 29 | 20 0d 0a 09 09 09 09 3c |cation )| ......<|
|00001f20| 09 56 53 69 7a 65 28 20 | 50 6f 73 69 74 69 6f 6e |.VSize( |Position|
|00001f30| 20 2d 20 43 6c 6f 73 65 | 73 74 4d 2e 48 69 64 69 | - Close|stM.Hidi|
|00001f40| 6e 67 50 6c 61 63 65 2e | 4c 6f 63 61 74 69 6f 6e |ngPlace.|Location|
|00001f50| 20 29 20 0d 0a 09 09 09 | 09 29 0d 0a 09 09 09 09 | ) .....|.)......|
|00001f60| 7b 0d 0a 09 09 09 09 09 | 43 6c 6f 73 65 73 74 4d |{.......|ClosestM|
|00001f70| 20 3d 20 49 74 65 72 4d | 3b 0d 0a 09 09 09 09 7d | = IterM|;......}|
|00001f80| 0d 0a 09 09 09 7d 0d 0a | 09 09 7d 0d 0a 09 7d 0d |.....}..|..}...}.|
|00001f90| 0a 0d 0a 09 72 65 74 75 | 72 6e 20 43 6c 6f 73 65 |....retu|rn Close|
|00001fa0| 73 74 4d 3b 0d 0a 7d 0d | 0a 0d 0a 00 |stM;..}.|.... |
+--------+-------------------------+-------------------------+--------+--------+